package javavean;

public class StudentOperatingtool {
    ///这个包负责判断在test中的学生是否及格
    private Student student;

    public StudentOperatingtool(Student student) {
        this.student = student;
    }

    public void printpass() {
        if (student.getScore() >= 60) {
            System.out.println("该学生及格了");
        } else {
            System.out.println("该学生没有及格");
        }
    }
}
